﻿<style>
ul,li{ padding:0; margin:0;}
#preview{ float:left; margin:auto; text-align:center; width:350px;}
.jqzoom{ width:350px;}
.list-h li{ float:left;}
#spec-n5{width:350px; height:56px; padding-top:6px; overflow:hidden;}
#spec-left{ background:url(/plug/jqzoom/attr/left.gif) no-repeat; width:10px; height:45px; float:left; cursor:pointer; margin-top:5px;}
#spec-right{background:url(/plug/jqzoom/attr/right.gif) no-repeat; width:10px; height:45px; float:left;cursor:pointer; margin-top:5px;}
#spec-list{width:322px;  float:left; overflow:hidden; margin-left:2px; position:relative; margin-right:6px; display:inline;}
#spec-list ul li{ float:left; margin-right:0px; display:inline; width:64px;}
#spec-list ul li img{ padding:2px ; border:1px solid #ccc; width:50px; height:50px;}
#spec-list a.zoomThumbActive img{border:1px solid #A10000;}
</style>
<link href="/plug/jqzoom/css/jquery.jqzoom.css" rel="stylesheet" type="text/css" />
<script src="/plug/jqzoom/js/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<script src="/plug/jqzoom/js/jquery.jqzoom-core.js" type="text/javascript"></script>
<script src="/plug/jqzoom/attr/jdMarquee.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        jQuery('.jqzoom').jqzoom({
            zoomType: 'standard',
            title: false,
            lens: true,
            preloadImages: false,
            alwaysOn: false
        });
        jQuery("#spec-list").jdMarquee({
            deriction: "left",
            width: 350,
            height: 56,
            step: 2,
            speed: 4,
            delay: 10,
            control: true,
            _front: "#spec-right",
            _back: "#spec-left"
        });
    })
  </script>
<div id="preview">
  <div class="jqzoom" id="spec-n1"> <a href="${model.img_url}" class="jqzoom"  rel='gal1'> <img id="bigImg" src="${model.img_url}" width="350" alt="${model.title}" border="0" /></a> </div>
  <div id="spec-n5">
    <div class="control" id="spec-left"> <img src="/plug/jqzoom/attr/left.gif" /> </div>
    <div id="spec-list">
      <ul class="list-h">
        #foreach($item in $biz.ImgsToList($model.img_group))
        <li> <a href="javascript:void(0)" rel="{gallery: 'gal1', smallimage: '$item',largeimage: '$item'}"> <img src="$item"></a> </li>
        #end
      </ul>
    </div>
    <div class="control" id="spec-right"> <img src="/plug/jqzoom/attr/right.gif" /> </div>
  </div>
</div>
<div style="float:left; width:250px; padding-left:15px;">
  <h1 style="font-size: 14px">${model.title}</h1>
  <br />
  #foreach ($item in $model.attr_value)
  #set($fieldModel=$biz.GetAttrField($item.field_id))
  #if ($biz.IsSimpleTxt($fieldModel.control_type) && $fieldModel.is_lock == 0)
  ${fieldModel.title} : ${item.content}<br />
  #end
  #end </div>
#parse("ucshow_pic_tab.html")
#parse("ucbaidushare.html") <br style="clear: both" />
<div style="text-align: center; border-top: dotted 1px #CCC; padding: 5px;"> <span style="padding-right: 20px;"><strong>PREV：</strong>${prevHtml}</span> <strong>NEXT：</strong>${nextHtml}</div>
#if($channel.show_comment == 1)
#parse("ucshow_comment.html")
#end 